﻿namespace LotterySystem
{
    public class Student
    {
        public string Name { get; set; }

        public string Id { get; set; }

        public string Sex { get; set; }

        public Student(string name, string id, string sex)
        {
            Name = name;
            Id = id;
            Sex = sex;
        }

        public override string ToString()
        {
            return string.Format("{0} {1} {2}  ", Id, Name, Sex);
        }
    }
}
